/***********************************************************************
 * Module:  Student.cs
 * Author:  Deki
 * Purpose: Definition of the Class Student
 ***********************************************************************/

using System;
using System.Collections;

namespace CS322_V11.entities
{
    /// Sve osobe koje su studenti fakulteta, ili koje zele postati studenti fakulteta se cuvaju u tabeli STUDENTI.
    public class Student : Osoba
    {
        private static int instances = 0;

        private ArrayList listaIspita = new ArrayList();

        private int status;

        public int Status
        {
            get { return status; }
            set { status = value; }
        }

        public Student(int id, String jmbg, String ime, String prezime, int status)
            : base(id, jmbg, ime, prezime)
        {
            Status = status;
            instances++;
        }

        public static string KolikoStudenata()
        {
            return Convert.ToString(instances);
        }

    }
}